package com.ossjk.oa.system.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.ossjk.core.base.entity.BaseEntity;

/**
 * <p>
 * 员工表
 * </p>
 *
 * @author chair
 * @since 2019-01-20
 */
public class Employee extends BaseEntity<Employee> {

	private static final long serialVersionUID = 1L;

	@TableId("id")
	private String id;
	/**
	 * 职工名称
	 */
	@TableField("name")
	private String name;
	/**
	 * 密码
	 */
	@TableField("pwd")
	private String pwd;
	@TableField("rname")
	private String rname;
	/**
	 * 地址
	 */
	@TableField("address")
	private String address;
	/**
	 * 手机
	 */
	@TableField("mobile")
	private BigDecimal mobile;
	/**
	 * 性别 1-男、2-女
	 */
	@TableField("sex")
	private BigDecimal sex;
	@TableField("email")
	private String email;
	/**
	 * 生日
	 */
	@JSONField(format = "yyyy-MM-dd")
	@TableField("birth")
	private Date birth;
	/**
	 * 籍贯
	 */
	@TableField("natives")
	private String natives;
	/**
	 * 民族
	 */
	@TableField("nations")
	private String nations;
	/**
	 * 学历
	 */
	@TableField("education")
	private String education;
	/**
	 * 毕业学校
	 */
	@TableField("school")
	private String school;
	/**
	 * 专业
	 */
	@TableField("major")
	private String major;
	/**
	 * 入职时间
	 */
	@JSONField(format = "yyyy-MM-dd")
	@TableField("entry")
	private Date entry;
	/**
	 * 合同到期
	 */
	@TableField("expire")
	private Date expire;
	/**
	 * 省
	 */
	@TableField("prid")
	private String prid;
	/**
	 * 市
	 */
	@TableField("ctid")
	private String ctid;
	/**
	 * 区
	 */
	@TableField("arid")
	private String arid;
	/**
	 * 备注
	 */
	@TableField("remarks")
	private String remarks;

	@TableField("wxoid")
	private String wxoid;
	@TableField("xcxid")
	private String xcxid;
	@TableField("wxnm")
	private String wxnm;
	@TableField("wxuid")
	private String wxuid;

	public String getWxoid() {
		return wxoid;
	}

	public void setWxoid(String wxoid) {
		this.wxoid = wxoid;
	}

	public String getXcxid() {
		return xcxid;
	}

	public void setXcxid(String xcxid) {
		this.xcxid = xcxid;
	}

	public String getWxnm() {
		return wxnm;
	}

	public void setWxnm(String wxnm) {
		this.wxnm = wxnm;
	}

	public String getWxuid() {
		return wxuid;
	}

	public void setWxuid(String wxuid) {
		this.wxuid = wxuid;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getRname() {
		return rname;
	}

	public void setRname(String rname) {
		this.rname = rname;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public BigDecimal getMobile() {
		return mobile;
	}

	public void setMobile(BigDecimal mobile) {
		this.mobile = mobile;
	}

	public BigDecimal getSex() {
		return sex;
	}

	public void setSex(BigDecimal sex) {
		this.sex = sex;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public String getNatives() {
		return natives;
	}

	public void setNatives(String natives) {
		this.natives = natives;
	}

	public String getNations() {
		return nations;
	}

	public void setNations(String nations) {
		this.nations = nations;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public String getSchool() {
		return school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public Date getEntry() {
		return entry;
	}

	public void setEntry(Date entry) {
		this.entry = entry;
	}

	public Date getExpire() {
		return expire;
	}

	public void setExpire(Date expire) {
		this.expire = expire;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	public String getPrid() {
		return prid;
	}

	public void setPrid(String prid) {
		this.prid = prid;
	}

	public String getCtid() {
		return ctid;
	}

	public void setCtid(String ctid) {
		this.ctid = ctid;
	}

	public String getArid() {
		return arid;
	}

	public void setArid(String arid) {
		this.arid = arid;
	}

	@Override
	public String toString() {
		return "Employee{" + ", id=" + id + ", name=" + name + ", pwd=" + pwd + ", rname=" + rname + ", address="
				+ address + ", mobile=" + mobile + ", sex=" + sex + ", email=" + email + ", birth=" + birth
				+ ", natives=" + natives + ", nations=" + nations + ", education=" + education + ", school=" + school
				+ ", major=" + major + ", entry=" + entry + ", expire=" + expire + ", remarks=" + remarks + "}";
	}
}
